var EDITOR_CALLER = {
		init : function(option){
			window.textAreaEl = option.textAreaEl;
			window.serverContents = option.serverContents;
			window.elPlaceHolder = option.elPlaceHolder;  //에디터 영역 명
			
			this.generateEditor(oEditors);
			
			if(!gfn_isEmpty(window.serverContents)){
				setTimeout(function(){
					EDITOR_CALLER.pasteHTML(window.serverContents);	
				},1000);
			}
		},
		generateEditor : function(oEditors){
			nhn.husky.EZCreator.createInIFrame({
				oAppRef: oEditors,
				elPlaceHolder: window.elPlaceHolder,
				sSkinURI: "/common/js/editor/SmartEditor2Skin.html",	
				htParams : {
					bUseToolbar : true,				// 툴바 사용 여부 (true:사용/ false:사용하지 않음)
					bUseVerticalResizer : true,		// 입력창 크기 조절바 사용 여부 (true:사용/ false:사용하지 않음)
					bUseModeChanger : true,			// 모드 탭(Editor | HTML | TEXT) 사용 여부 (true:사용/ false:사용하지 않음)
					fOnBeforeUnload : function(){
						
					}
				},				
				fCreator: "createSEditor2"
			});
		},
		pasteHTML : function(contents){
			oEditors.getById[window.elPlaceHolder].exec("PASTE_HTML", [window.serverContents]);
		},
		getEditorContentHTML : function(){
			return oEditors.getById[window.elPlaceHolder].getIR();
		}
};